home *** CD-ROM | disk | FTP | other *** search
/ Experimental BBS Explossion 3 / Experimental BBS Explossion III.iso / c / cujoct93.zip / 1110092C < prev    next >
Text File  |  1993-08-10  |  449b  |  34 lines

  1. /* stack4.c */
  2.  
  3. #include <stdio.h>
  4. #include <stdlib.h>
  5. #include <assert.h>
  6. #include "stack4.h"
  7.  
  8. struct stack
  9. {
  10.     int size;
  11.     int *data;
  12.     int ptr;
  13. };
  14.  
  15. Stack *stack_create(int size)
  16. {
  17. /* Same as in stack3.c... */
  18. }
  19.  
  20. int stack_push(Stack *stkp, int x)
  21. {
  22. /* Same as in stack3.c... */
  23. }
  24.  
  25. int stack_pop(Stack *stkp)
  26. {
  27. /* Same as in stack3.c... */
  28. }
  29.  
  30. void stack_destroy(Stack *stkp)
  31. {
  32. /* Same as in stack3.c... */
  33. }
  34.